/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.asset.inventory.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fuyao.cloud.common.biz.entity.AuditableEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 任务盘点管理表
 *
 * @author lyhills
 * @date 2023-09-11 12:01:39
 */
@Data
@TableName("fy_inventory_task")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "任务盘点管理表")
public class InventoryTask extends AuditableEntity {

    private static final long serialVersionUID = 1L;
    /**
     * 名称
     */
    @ApiModelProperty(value="名称")
    private String subject;

    /**
     * 开始时间
     */
    @ApiModelProperty(value="开始时间")
    private LocalDate startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value="结束时间")
    private LocalDate endTime;

    /**
     * 状态：0：未下发，1：已下发，2：已盘点，9：作废
     */
    @ApiModelProperty(value="状态：0：未下发，1：已下发，2：已盘点，9：作废")
    private String status;

    /**
     * 类型：unit:单位,cti:分类，spcae:空间，all:全部
     */
    @ApiModelProperty(value="类型：unit:单位,cti:分类，spcae:空间，all:全部")
    private String type;

    /**
     * 排序号
     */
    @ApiModelProperty(value="排序号")
    private Integer orderNo;

    /**
     * 类型IDS
     */
    @ApiModelProperty(value="类型IDS")
    private String typeIds;

    /**
     * 类型名称
     */
    @ApiModelProperty(value="类型名称")
    private String typeName;

    /**
     * 说明
     */
    @ApiModelProperty(value="说明")
    private String description;
    /**
     * 资产状态
     */
    @ApiModelProperty(value="资产状态")
    private String assetStatus;
    /**
     * 资产状态
     */
    @TableField(exist = false)
    @ApiModelProperty(value="资产状态")
    private List<String> assetStatusTemp;


}
